package com.linhai.scm.entity.base;

import java.io.Serializable;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;

import com.linhai.scm.entity.base.BaseBean;

/**
 * 客户表
 * @author linhai
 *
 */
@Entity//表示为实体类
@Table(name="TB_Client")//表名注解
public class Client extends BaseBean implements Serializable {
	private static final long serialVersionUID = 1L;
	
	private String clientName;
	private String clientPwd;
	
	/**
	 * 获取客户登录名
	 * @return
	 */
	@Column(name = "clientName")// 类属性对应着表字段
	public String getClientName() {
		return clientName;
	}
	
	/**
	 * 获取客户登录密码
	 * @return
	 */
	@Column(name = "clientPwd")// 类属性对应着表字段
	public String getClientPwd() {
		return clientPwd;
	}
	
	/**
	 * 设置客户登录名
	 * @param clientName
	 */
	public void setClientName(String clientName) {
		this.clientName = clientName;
	}
	
	/**
	 * 设置客户登录密码
	 * @param clientPwd
	 */
	public void setClientPwd(String clientPwd) {
		this.clientPwd = clientPwd;
	}
}
